package com.example.student1.service;


import com.example.student1.domain.Score;
import com.example.student1.domain.Student;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ScoreService {

/*查询所有学生*/

    List<Score> findAll();

    List<Score> findBySno(String sno);

    List<Score> findBySnoAndCno(String sno,String cno);

    Page<Score> findBySname(String sname, Pageable pageable);
}
